package com.treasure.mall.biz.vo.contact;

import com.treasure.mall.biz.vo.user.UserBasicVO;
import com.treasure.mall.zbq.common.ienum.chat.ChatEnums;
import lombok.Data;

import java.time.LocalDateTime;

/**
 *
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.vo.contact
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/8/12 3:16 下午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
@Data
public class ChatVO {


    private Long id;
    private String groupId;
    private String groupName;
    /**
     *
     */
    private Long merchantId;
    /**
     * 回话logo
     */
    private String logo;
    /**
     * 聊天回话类型
     */
    private ChatEnums.ChatType chatType;
    /**
     * 未读数
     */
    private Long noReadCount;
    /**
     * 用户未读数量
     */
    private Long userNoReadCount;

    /**
     * 最后回复消息内容
     */
    private String lastReplyMessage;
    /**
     * 最后回复消息时间
     */
    private LocalDateTime lastReplyTime;
    private UserBasicVO userBasic;


}
